package com.boardgame.gwt.service.operate.action.buy;

import java.util.regex.Pattern;

import com.boardgame.gwt.finalinfo.SyntaxMatchFinal;

/**
 * 买人行动
 * 多花1元
 */
public class BuyWorker1LessAction extends BuyWorkerBaseAction {
    @Override
    public Pattern getPattern() {
        return Pattern.compile(SyntaxMatchFinal.BUY_WORKER_1LESS_ACTION);
    }

    @Override
    protected int getWorkerExtralCost() {
        return -1;
    }
    
    public static BuyWorker1LessAction create(){
        return new BuyWorker1LessAction();
    }

}
